package net.mujiwulian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.mujiwulian.model.Person;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface PersonMapper extends BaseMapper<Person> {
    @MapKey("id")
    Map<Long, Object> selectParams(@Param("columns") List <String>columns);
    List <String> getDBColumns();
}